public class Main {
    public static void main(String[] args) {
        User user = new User();
        DDD ddd = new DDD();
        AAA aaa = new AAA(user,ddd);
        BBB bbb = new BBB(user,ddd);
//        CCC ccc = new CCC(user);

        aaa.start();
//        try {
//            Thread.sleep(1000);
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
        bbb.start();
//        ccc.start();

//        try {
//            Thread.sleep(10000);
////            System.out.println(user.getName()   );
//        } catch (InterruptedException e) {
//            e.printStackTrace();
//        }
    }
}
